package com.blog4j.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.blog4j.user.entity.MessageEntity;
import com.blog4j.user.vo.resp.MessageRespVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 98k灬
 * @version v1.0.0
 * @Description : 功能描述
 * @Create on : 2024/8/15 12:14
 **/
@Mapper
public interface MessageMapper extends BaseMapper<MessageEntity> {
    /**
     * 获取消息列表
     *
     * @return 消息列表
     */
    List<MessageRespVo> getMessageList(@Param("toUserId") String toUserId);
}
